{% extends "hr/base.html" %}

{% load i18n %}
{% load breadcrumbs %}
{% load details %}

{% block meta_title %}{% trans "Timesheets" %}{% endblock %}

{% block breadcrumbs %}
    {% add_crumb 'Home' '/' %}
    {% add_crumb 'Timesheets' %}
{% endblock %}

{% block subtitle %}{% trans "Timesheets" %}{% endblock %}

{% block section %}
{% include "elements/filterbox.html" %}
<div class="actions">
    <ul>
        {% if perms.hr.add_timesheet %}
        <li class="add"><a title="{% trans 'Add' %}" href="{% url timesheet_add %}">{% trans 'Add' %}</a></li>
        {% endif %}
    </ul>
</div>
<div class="details">
    {% detail_table object_list field_names %}
    {% include "elements/paginator.html" %}
</div>
{% endblock %}
